﻿@model HotDealD2.Models.ThanhVien
@{
    Layout = "../Shared/MemberLayout.cshtml";
}

@{
    ViewBag.Title = "Home Page";
    ViewBag.UserName = "member";
}

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<title>@ViewBag.Title</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="../../../../Content/HomeSite/scripts/jquery.placeholder.js" ></script>
<link type="text/css" media="screen" rel="stylesheet" href="../../../../Content/MemberSite/MemberStyle.css" />

<!--[if IE 6]>
<script type="text/javascript" src="scripts/DD_belatedPNG_0.0.7a.js"></script> 
<script type="text/javascript" src="scripts/png_fix_elements.js"></script> 
<![endif]-->

</head>

<div class="main">            
<div class="details-left">
       		<div class="headerstep">
            	<div class="title-step-profile">
                	<ul class="navstep">
                    	<li id="stepprofile"><span id="current">THÔNG TIN CÁ NHÂN</span></li>
                        <li id="stephistory"><a href="../Member/DonHang">LỊCH SỬ MUA HÀNG</a></li>
                        <li>@Html.ActionLink("THAY ĐỔI MẬT KHẨU", "ChangePassword", "Account")</li>
                    </ul>
                </div>
            </div>
       		<div class="infoprodetails">
  <div class="account_content">
            <div class="info_user">
                <fieldset style="border: 1px solid #89B554;margin: 1em 0;padding: 1em; padding-top:5px; padding: 1em; width:550px;">
                    <legend>Thông tin tài khoản</legend>
                    <div class="acc_row">
                        <p class="left">
                            Họ tên:
                        </p>
                        <p class="right">
                                <span id="nameLabel" style="display: inline; ">@Html.DisplayFor(m=>m.NguoiDung.HoTen)</span>
                                </span>
                        </p>
                        <span class="edit">
                            <img id="iconedit" src="../../Content/MemberSite/edit.png" align="bottom" border="0" style="margin-bottom: -3px; margin-right: 3px; cursor: pointer"><a href="@Url.Action("UpdateAccount","Account",new {username = Model.Username})" id="btEdit">Chỉnh sửa</a></span>
                    </div>
                    <br class="clear">
                    <div class="acc_row" >
                        <p class="left">
                            Điện thoại:
                        </p>
                        <p class="right">
                                <span id="mobileLabel" style="display: inline; ">@Html.DisplayFor(m=>m.NguoiDung.SoDienThoai)</span>
                        </p>
                    </div>
                    <br class="clear">
                    <div class="acc_row">
                        <p class="left">
                            Email:
                        </p>
                        <p class="right">
                            @Html.DisplayFor(m=>m.NguoiDung.Email)
                        </p>
                    </div>
                    <br class="clear" >
                    <fieldset style="border: 1px solid #89B554;padding-left:100px;margin: 1em 0;padding: 1em; padding-top:5px; padding: 1em; width:400px;">
                        <legend>Địa chỉ</legend>
                        <div class="acc_row">
                            <p class="left">
                                Tỉnh/Thành:
                            </p>
                            <p class="right">
                               @Html.DisplayFor(m=>m.NguoiDung.TinhThanh1.TenTinhThanh)
                            </p>
                            <div class="acc_row">
                            <p class="left">
                                Quận/Huyện:
                            </p>
                            <p class="right">
                               @Html.DisplayFor(m=>m.NguoiDung.QuanHuyen1.TenQuanHuyen)
                            </p>
                            <div class="acc_row">
                            <p class="left">
                                Phường/Xã:
                            </p>
                            <p class="right">
                                @Html.DisplayFor(m => m.NguoiDung.PhuongXa)
                            </p>
                            <div class="acc_row">
                            <p class="left">
                                Số nhà:
                            </p>
                            <p class="right">
                                @Html.DisplayFor(m=>m.NguoiDung.SoNha)
                            </p>
                            <div class="acc_row">
                            <p class="left">
                                Đường:
                            </p>
                            <p class="right">
                                @Html.DisplayFor(m=>m.NguoiDung.Duong)
                            </p>
                        </p> 
                    </fieldset>                     
                </fieldset>
                <br class="clean">
            </div>            
        </div>
            </div>
            
       </div>
        <div class="clear"></div>		<div class="clear"></div>
</div>